home *** CD-ROM | disk | FTP | other *** search
/ Adobe Graphics & Publishing SDK 1996 December / Adobe Graphics & Publishing SDK 1996 December.iso / mac / PageMaker 6.5 SDK Mac / SourceCode / PageMakerClassLibrary / LowLevel / Twips.cpp < prev    next >
C/C++ Source or Header  |  1996-08-20  |  599b  |  23 lines

  1. /*
  2.  *--- Twips.cpp -----------------------------------------------------------
  3.  * Copyright (c) 1995-96 Adobe Systems Incorporated.  All rights reserved.
  4.  * Created on Sun, Oct 22, 1995 @ 3:29 PM by Paul Ferguson.
  5.  *
  6.  * Description:  For notes about this function, refer to the
  7.  * PCL documentation file twips.html
  8.  *-------------------------------------------------------------------------
  9.  */
  10.  
  11. #include "PGetConvertStr.h"
  12. #include "Twips.h"
  13.  
  14. long twips(char * inDistanceStr)
  15. {
  16.     try {
  17.          PGetConvertStr result(inDistanceStr);
  18.         return result; 
  19.     }
  20.     catch (PMErr) {
  21.        return 0;
  22.     };
  23. }